#include "Definitions.h"
#include "_061008926_026664482.h"
#include "HeuristicParams.h"
#include "XMLParameterLoader.h"
#include "CommonApps.h"

#define HEURISTIC_PARAM_FILE "Data\\heuristicParams.xml"

_061008926_026664482::_061008926_026664482(
	Definitions::PlayerColor playerColor,
	const GameTimer::TimeParams &tp, int moves_limit) : SenetPlayer(playerColor, tp, moves_limit)
{
	setName("Jacob");
}


_061008926_026664482::~_061008926_026664482()
{
}

void _061008926_026664482::makeMove(const Board& curBoard, Move &myMove)
{

}

void _061008926_026664482::setName(const string &s)
{
	m_myName = s;
}

void _061008926_026664482::initGame(int num_squares, int num_pieces, 
									int num_sticks, const SenetBoard &initial_board)
{
	// call the parent initGame
	SenetPlayer::initGame(num_squares, num_pieces, num_sticks, initial_board);

// 	char buffer[4096] = {0};
// 	getCurrentPath(buffer);
	
	// load current player definitions from the xml
	XMLParameterLoader paramLoader;
	HeuristicParams* params = paramLoader.load(HEURISTIC_PARAM_FILE);

}

